﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

class Person
{
    public String Name { get; set; }
    public int? Age { get; set; }

    public Person(string name,int? age)
    {
        this.Name = name;
        this.Age = age;
    }

    public Person(string name) : this(name, null) { }

    public override string ToString()
    {
        StringBuilder resultBuilder = new StringBuilder();
        resultBuilder.AppendFormat("Name: {0}; ",Name);
        if (Age == null)
        {
            resultBuilder.AppendFormat("Age: Not specified;");
        }
        else
        {
            resultBuilder.AppendFormat("Age: {0};",Age);       
        }
        return resultBuilder.ToString();
    }

    static void Main(string[] args)
    {
        Person testPerson = new Person("Pesho",12);
        Console.WriteLine(testPerson);
    }
}
